import Vue from 'vue'
import Vuex from 'vuex'

import car from './modules/car'
import user from './modules/user'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    car,
    user
  },
  //   // 可以直接this.$store.getters.xxx
  //   getters
})

export default store
